Previous topicNext topic
Help > Keyword Reference >
Utf8ToChr$ function

Purpose

Translates a byte string of OEM characters into ANSI/WIDE characters.

Syntax

a$$ = Utf8ToChr$(UtfExpr$)

Remarks

UtfExpr$ contains a series of bytes in UTF-8 format. Utf8ToChr$ translates it into either ANSI multi-byte equivalent characters or WIDE (16-bit) Unicode characters, depending upon the context of the source code. PowerBASIC will always choose the correct form with no intervention needed by the programmer.

See also

ChrToOem$, ChrToUtf8$, OemToChr$